package com.sugon.entity.dto;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ModuleSpPurchasingBatchParam implements Serializable {

    @NotBlank(message = "模具型芯备件必选！")
    private String moldSpId;

    @NotBlank(message = "供应厂家必选！")
    private String supplierId;

    @NotNull(message = "采购单价必填！")
    private BigDecimal unitPrice;

    @NotBlank(message = "采购批次适用起始月份必选！")
    private String beginMonth;

    @NotBlank(message = "采购批次适用结束月份必选！")
    private String endMonth;

    /**
     * 修改时必填
     */
    private String id;

    private String remark;

}
